-- GENERATED SPELL FOR [Spewed Larva] --


function spell0_13533(pUnit, Event) --@Noxious Catalyst,n/a--
pUnit:FullCastSpellOnTarget(5413,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13533', 0, 1)
end

function Sorts_13533(pUnit, Event)
local choix_sorts_13533 = math.random(0, 0)
if choix_sorts_13533 == 0 then
pUnit:RegisterEvent('spell0_13533', 1, 1)
end
end

function mob13533_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13533', math.random(1500, 3000), 1)
end

function mob13533_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13533_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13533_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13533, 1, 'mob13533_Action')
RegisterUnitEvent(13533, 2, 'mob13533_Leave')
RegisterUnitEvent(13533, 3, 'mob13533_Kill')
RegisterUnitEvent(13533, 4, 'mob13533_Die')
